﻿namespace GX
{
    public class DTConditonAND:DecisionTree.DTConditionContainer
    {
        protected override bool DoEvaluate()
        {
            int len = numChildren;
            for (int i = 0; i < len; ++i)
            {
                var node = GetChildAt(i);
                if (!node.Evaluate()) return false;
            }
            return true;
        }
    }
}
